<!DOCTYPE html>
<script src="../../../resources/ahem.js"></script>
<script src="../resources/text-based-repaint.js"></script>
<script>
    if (window.internals) {
        onload = runRepaintAndPixelTest;
    } else {
        onclick = repaintTest;
    }
    function repaintTest() {
        var target = document.getElementById('target');
        target.style.color = 'green';
    }
</script>
<div id="target" style="-webkit-columns:2; backface-visibility:hidden; width:630px; font:20px/1 Ahem; color:red;">
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce
    varius, metus eu fringilla pulvinar, ipsum sapien ultricies arcu,
    non condimentum quam est eu purus. Ut nisl libero, suscipit ut leo
    eget, dapibus ultrices dolor.
</div>
<p>All text above should be green (if tested manually, you need to click first).</p>
